package service;

import pojo.Student;

import java.util.List;

public interface StudentService {
    //定义行为，接口不用实现
    //eg.Student
    //1.注册
    int addStudent(Student student);
    //2.查询
    List<Student> findAll(Student student, int offset, int pageSize);
    int count(Student Student);//查询总记录数
    //3.编辑
    Student findById(Integer id);

    int updateStudent(Student student);

    int deleteStudentById(Integer id);





    //4.删除
    //5.禁用
    //6.校验
}
